package com.jb;
import java.text.SimpleDateFormat;

public class TimeTool {
    private static final SimpleDateFormat fmt = new SimpleDateFormat("HH:mm:ss.SSS");

    public interface Task {
        void execute();
    }

    public static void check(String title, Task task) {
        if (task == null) return;
        title = (title == null) ? "" : ("[" + title + "]");
        System.out.println(title);
    }
}
